{% extends 'base.html' %}
	
{% block title %}
Dlib Group
{% endblock %}

{% block css %}
<link rel="stylesheet" type="text/css" href="/css/group_base.css" />
{% endblock %}
	
{% block bodycontent %}
<div id="wrapper">
	<div id="header">
		<div id="content">
		<div class="title">
			<h1 align="left">
				{% block theme %}
				{% endblock %}
			</h1>
		</div>
			<div class="grid-16-8 clearfix">
				<div class="article">
					<div class="clear"></div>
					
					{% block topic_content %}
					{% endblock %}
					{% block headline %}
					{% endblock %}
					
					<div class="clear"></div>
					<div class="intent">
						<table class="olt">
							<tbody>
							{% block tbody %}
							{% endblock %}
							</tbody>
						</table>
					</div>
					<div class="paginator">
					{% if show %}
						<span class="prev">
							{% if current_page == 1 %}
								&lt;前页
							{% else %}
								<a href="/group/{{ suffix }}/">首页</a>
								<a href="/group/{{ suffix }}/page/{{ last_page }}/">&lt;前页</a>
							{% endif %}
						</span>
						{% for page in page_list %}
							{% if page == current_page %}
								<span class="thispage">{{page}}</span>
							{% else %}
								<a href="/group/{{ suffix }}/page/{{page}}/">{{page}}</a>
							{% endif %}
						{% endfor %}
						{% if page_list_final  != final_page %}
							<span class="break">...</span>
						{% endif %}
						<span class="next">
							{% if current_page == final_page %}
								后页&gt;
							{% else %}
								<a href="/group/{{ suffix }}/page/{{ next_page }}/">后页&gt;</a>
								<a href="/group/{{ suffix }}/page/{{final_page}}/">末页</a>
							{% endif %}
						</span>
					{% endif %}
					</div>						
				</div>
				<div class="aside">
				{% block aside %}
				{% endblock %}
				</div>
				<div class="extra"></div>
			</div>
		</div>
	</div>
</div>

{% endblock %}

			
				
					
										
										
		